﻿using System.Collections.Generic;
using MediaLibraryManagement.DAL;
using MediaLibraryManagement.Entity;

namespace MediaLibraryManagement.BLL
{
    public class CastBLL
    {
        private CastDAL _dataAccess;

        public CastBLL()
        {
            _dataAccess = new CastDAL();
        }

        public List<Cast> GetByMovieID(int id)
        {
            return _dataAccess.GetByMovieID(id);
        }

        public void Insert(List<Cast> casts)
        {
            _dataAccess.Insert(casts);
        }
    }
}